package com.service;

import java.util.List;
import java.util.Map;

import com.bean.wd_ht_build;
import com.bean.wd_ht_project;
import com.bean.wd_ht_room;
import com.bean.wd_opening_report;
import com.bean.wd_pay_type;

public interface OpenService {
	 int deleteByPrimaryKey(String openingReportId);

	    int insert(wd_opening_report record);

	    int insertSelective(wd_opening_report record);

	    wd_opening_report selectByPrimaryKey(String openingReportId);

	    int updateByPrimaryKeySelective(wd_opening_report record);

	    int updateByPrimaryKeyWithBLOBs(wd_opening_report record);

	    int updateByPrimaryKey(wd_opening_report record);
	 
	    public List<wd_opening_report> selectAll(wd_opening_report rname);
	    //查询新建项目所有信息
	    public List<wd_ht_project> selectObject();
	    //根据项目id查询所有房间信息
	    public List<wd_ht_project> selectRoomByBid(Map<String, Object> map);
	    //根据id查询项目
	    wd_ht_project selectObjectById(String bid);
	    //查询房间为开盘信息（一对多再对多）
		List<wd_ht_project> selectToMany(Map<String, Object> map);
		//通过多个id查询项目至房间信息
		List<wd_ht_project> selectIn(Map<String, Object> map);
		//修改批量修改房间状态
		void changeTypeIn(Map<String, Object> upmap);
		//查询uuid
		String getUuid();
		//修改折扣方式
		void upZheKou(Map<String, String> map);
		//查询付款方式信息
		List<wd_pay_type> getpayType();
		//将开盘报告id存入房间表
		void insertImportid(Map<String, Object> map);
		//将支付方式存入第三张表开盘与支付方式中间表
		void addPayType(Map<String, String> map);
		//通过报告id获取所有信息
		List<wd_ht_project> getfianlAll(String string);
		//通过报告id获取报告信息
		wd_opening_report getReportBean(String reportid);
		//通过报告id和获取支付方式id
		String getPayType(String reportid);
		//通过支付id获取支付信息
		wd_pay_type getpaybean(String string);
		//导入后修改价格
		void updatePrice(wd_ht_room roomBean);

	    
}
